package edu.zut.cs.software.perfect.manager.web.spring.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import edu.zut.cs.software.perfect.base.web.spring.controller.GenericController;
import edu.zut.cs.software.perfect.manage.domain.UserGroup;
import edu.zut.cs.software.perfect.manage.service.UserGroupManager;

/**
 * @ClassName UserGradeController
 * @Description TODO
 * @Author wst
 * @Date 2020年5月30日 上午12:22:36
 * @Version 1.0
 */

@Controller
@RequestMapping("/userGroup")
public class UserGroupController extends GenericController<UserGroup,Long,UserGroupManager>{

	private UserGroupManager userGroupManager;

	@Autowired
	public void setUserGroupManager(UserGroupManager userGroupManager) {
		this.userGroupManager = userGroupManager;
		this.manager=userGroupManager;
	}
	
	@RequestMapping(method = RequestMethod.GET, value = "/index.html")
	public String index() {
		String result = "/userGroup/index";
		return result;
	}
	
}
